﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SGuildDefenseRewardInfo extends Object
    {
        public var playerId:int;
        public var resource:int;
        public var contribution:int;

        public function SGuildDefenseRewardInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.playerId);
            param1.writeInt(this.resource);
            param1.writeInt(this.contribution);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.playerId = param1.readInt();
            this.resource = param1.readInt();
            this.contribution = param1.readInt();
            return;
        }// end function

    }
}
